import os

if __name__ == '__main__':
    cmd_code = 'python -m http.server 8000 --bind 127.0.0.1'
    result = os.system(cmd_code)
